package com.example.employee.domain.po;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Employee implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String nickname;
    private String password;
    private String phone;
    private Integer gender;
    private String idNumber;
    private Integer status;
    private Integer role;
    private String avatar;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;


}
